drawcontext: Guard begin/end_frame() against non-surface contexts
authorBenjamin Otte <otte@redhat.com>
Wed, 20 Oct 2021 18:07:37 +0000 (20:07 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 20 Oct 2021 18:31:33 +0000 (20:31 +0200)
commitea14e94eaf96079cb18cce6bb39a74b0933771f0
tree5652f8a625ac247c474c1984931d42c434f457ec
parent2601c39cb2cd985f316fb03439a3a30325c3ea64
drawcontext: Guard begin/end_frame() against non-surface contexts

This can happen now with gdk_display_create_gl_context().
gdk/gdkdrawcontext.c